package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;

public class ResResource implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String resId;
	
	private String terminalCode;
	
	private String uri;
	
	private String password;

	private String resName;

	private String resTypeId;

	private String publishDate;

	private String frontCover;

	private String price;

	private Integer favoriteCount;

	private Integer shareCount;

	private Integer useCount;
	
	private String keyword;

	private Integer status;

	private String createUserId;

	private Date createDate;

	private String lastUpdatedUserId;

	private Date lastUpdatedDate;
	
	private String description;

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getTerminalCode() {
		return terminalCode;
	}

	public void setTerminalCode(String terminalCode) {
		this.terminalCode = terminalCode;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getResTypeId() {
		return resTypeId;
	}

	public void setResTypeId(String resTypeId) {
		this.resTypeId = resTypeId;
	}

	public String getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}

	public String getFrontCover() {
		return frontCover;
	}

	public void setFrontCover(String frontCover) {
		this.frontCover = frontCover;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public Integer getFavoriteCount() {
		return favoriteCount;
	}

	public void setFavoriteCount(Integer favoriteCount) {
		this.favoriteCount = favoriteCount;
	}

	public Integer getShareCount() {
		return shareCount;
	}

	public void setShareCount(Integer shareCount) {
		this.shareCount = shareCount;
	}

	public Integer getUseCount() {
		return useCount;
	}

	public void setUseCount(Integer useCount) {
		this.useCount = useCount;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getLastUpdatedUserId() {
		return lastUpdatedUserId;
	}

	public void setLastUpdatedUserId(String lastUpdatedUserId) {
		this.lastUpdatedUserId = lastUpdatedUserId;
	}

	public Date getLastUpdatedDate() {
		return lastUpdatedDate;
	}

	public void setLastUpdatedDate(Date lastUpdatedDate) {
		this.lastUpdatedDate = lastUpdatedDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public ResResource() {
		super();
	}

    public ResResource(String resId, String terminalCode, String uri, String password,
                       String resName, String resTypeId, String publishDate, String frontCover,
                       String price, Integer favoriteCount, Integer shareCount, Integer useCount,
                       String keyword, Integer status, String createUserId, Date createDate,
                       String lastUpdatedUserId, Date lastUpdatedDate, String description)
    {
        super();
        this.resId = resId;
        this.terminalCode = terminalCode;
        this.uri = uri;
        this.password = password;
        this.resName = resName;
        this.resTypeId = resTypeId;
        this.publishDate = publishDate;
        this.frontCover = frontCover;
        this.price = price;
        this.favoriteCount = favoriteCount;
        this.shareCount = shareCount;
        this.useCount = useCount;
        this.keyword = keyword;
        this.status = status;
        this.createUserId = createUserId;
        this.createDate = createDate;
        this.lastUpdatedUserId = lastUpdatedUserId;
        this.lastUpdatedDate = lastUpdatedDate;
        this.description = description;
    }

    @Override
    public String toString()
    {
        return "ResResource [resId=" + resId + ", terminalCode=" + terminalCode + ", uri=" + uri
               + ", password=" + password + ", resName=" + resName + ", resTypeId=" + resTypeId
               + ", publishDate=" + publishDate + ", frontCover=" + frontCover + ", price="
               + price + ", favoriteCount=" + favoriteCount + ", shareCount=" + shareCount
               + ", useCount=" + useCount + ", keyword=" + keyword + ", status=" + status
               + ", createUserId=" + createUserId + ", createDate=" + createDate
               + ", lastUpdatedUserId=" + lastUpdatedUserId + ", lastUpdatedDate="
               + lastUpdatedDate + ", description=" + description + "]";
    }
}